package com.lizhi.yun.db.jlc.dao;/**
 * @program: sfrobot-html
 * @name StandPtInfoDao
 * @description:
 * @author: lizhi
 * @create: 2020-04-24 14:50
 */

import com.lizhi.yun.db.jlc.pojo.JlcTreatrecordPOJO;
import com.lizhi.mybatis.interceptor.PageBounds;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 *@program: sfrobot-html
 *@name StandPtInfoDao
 *@description:
 *@author: lizhi
 *@create: 2020-04-24 14:50
 */
@Mapper
public interface JlcTreatrecordDao {

    public int insertRecord(JlcTreatrecordPOJO record);//添加一条完整记录

    public int updateByIdSelective(JlcTreatrecordPOJO record);//按Id(主键)修改指定列的值

    public int deleteById(String id, String hospitalid, String hospitalsystemid);

    public JlcTreatrecordPOJO selectById(String id, String hospitalid, String hospitalsystemid);//通过Id(主键)查询一条记录

    public List<JlcTreatrecordPOJO> selectAll(JlcTreatrecordPOJO record, PageBounds pageBounds);//根据条件查询

    public List<JlcTreatrecordPOJO> selectByMap(Map<String, Object> paramMap, PageBounds pageBounds);//根据条件查询
}
